import * as path from "path";

export const winparams = {
    width: 890,
    height: 566,
    resizable: true,
    transparent: false, //透明
    opacity: 1,
    hasShadow: false,
    movable: true, // 可移动
    alwaysOnTop: false, // 总是置顶
    show: true,
    frame: false,
    parent: null as null,
    webPreferences: {
        devTools: true, // 开发工具
        nodeIntegration: true,
        nodeIntegrationInWorker: false,
        // javascript: true,
        contextIsolation: true,
        preload: path.join(__dirname, 'preload.js',),
    },
};
